<div class="position">
    <p>您的当前位置：<a href="/">首页</a>  >  <a title="小区" href="{:U('Estate/index')}">小区</a>
        <volist name='nav' id='vo'>
            > <a title="{$vo.name}" href="{:U('Estate/index',array('alias'=>$vo['alias']))}">{$vo.name}</a>
        </volist>
    </p>
</div>
<div class="xq_head">
    <div class="xq_h_d1">
        <img style="height: 76px;width: 106px;" alt="{$estate.title}" title="{$estate.title}" src="{$estate.img}">
    </div>
    <div class="xq_h_d2">
        <h1><a href="{:U('Estate/detail',array('id'=>$estate['id']))}">{$estate.title}</a></h1>
    </div>
</div>
<div class="body_title">
            <span class="body_title_r">
                <include file="Public:baidu" />
            </span>
    <ul>
        <li><a <php>if($action=='detail'){</php> class="selected" <php>}</php> href="{:U('Estate/detail',array('id'=>$estate['id']))}">小区概况</a></li>
        <li><a <php>if($action=='used'){</php> class="selected" <php>}</php>  href="{:U('Estate/used',array('id'=>$estate['id']))}">二手房({$estate.sell_count})</a></li>
        <li><a <php>if($action=='rental'){</php> class="selected" <php>}</php> href="{:U('Estate/rental',array('id'=>$estate['id']))}">出租房({$estate.lease_count})</a></li>
        <li><a <php>if($action=='info'){</php> class="selected" <php>}</php> href="{:U('Estate/info',array('id'=>$estate['id']))}">小区详细</a></li>
        <li><a <php>if($action=='pic'){</php> class="selected" <php>}</php> href="{:U('Estate/pic',array('id'=>$estate['id']))}">小区图片</a></li>
        <li style="border-right: none"><a  href="{:U('Estate/index',array('alias'=>$estate['alias']))}">周边小区</a></li>
    </ul>
</div>